package org.pine.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author pine
 * @since 2025-04-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("pine_dictionary")
public class Dictionary extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = -1659578554420835165L;

    /**
     * 类型名称
     */
    private String name;

    /**
     * 类型编码
     */
    private String code;

    /**
     * 状态:0=启用,1=禁用
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;
}
